import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'  // 注意路径变化
import * as ElIconList from '@element-plus/icons-vue'

createApp(App).use(router).use(ElementPlus).mount('#app');

for (const name in ElIconList) {
  app.component(name, ElIconList[name])
}